<%--
  Created by IntelliJ IDEA.
  User: focus
  Date: 2018/1/8
  Time: 22:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../base.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
    <meta name="renderer" content="webkit" />
    <title>基本资料 - 设置 - WeCenter 社交化问答社区程序</title>
    <meta name="keywords" content="wecenter,知识社区,企业社区,社交问答,问答社区,企业社交,开源社区程序,社交社区程序,开源问答程序,问答网站,social question,微信,微信公众平台,微信开发,微信开发社区,微信应用" />
    <meta name="description" content="WeCenter 是一款知识型的社交化问答社区程序，专注于社区内容的整理、归类和检索，并通过连接微信公众平台，移动APP进行内容分发。"  />
    <link href="css/default/img/favicon.ico?v=20160523" rel="shortcut icon" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="css/icon.css" />
    <link href="css/default/common.css?v=20160523" rel="stylesheet" type="text/css" />
    <link href="css/default/link.css?v=20160523" rel="stylesheet" type="text/css" />
    <link href="js/plug_module/style.css?v=20160523" rel="stylesheet" type="text/css" />
    <link href="css/default/user-setting.css?v=20160523" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        var _9E29EDF6516004E39BF28FBC00892FA4="929985360dee05f85b48d128ad40f58c";
        var G_POST_HASH=_9E29EDF6516004E39BF28FBC00892FA4;
        var G_INDEX_SCRIPT = "";
        var G_SITE_NAME = "WeCenter 社交化问答社区程序";
        var G_BASE_URL = "http://wenda.wecenter.com";
        var G_STATIC_URL = "http://wenda.wecenter.com/static";
        var G_UPLOAD_URL = "http://wenda.wecenter.com/uploads";
        var G_USER_ID = "41635";
        var G_USER_NAME = "FOCUS";
        var G_UPLOAD_ENABLE = "Y";
        var G_UNREAD_NOTIFICATION = 0;
        var G_NOTIFICATION_INTERVAL = 100000;
        var G_CAN_CREATE_TOPIC = "";
        var G_ADVANCED_EDITOR_ENABLE = "Y";
        var FILE_TYPES = "jpg,jpeg,png,zip,rar,7z";
    </script>

    <script src="js/jquery.2.js?v=20160523" type="text/javascript"></script>
    <script src="js/jquery.form.js?v=20160523" type="text/javascript"></script>
    <script src="js/plug_module/plug-in_module.js?v=20160523" type="text/javascript"></script>
    <script src="js/aws.js?v=20160523" type="text/javascript"></script>
    <script src="js/aw_template.js?v=20160523" type="text/javascript"></script>
    <script src="js/app.js?v=20160523" type="text/javascript"></script>
    <script src="js/fileupload.js?v=20160523" type="text/javascript"></script>
    <script type="text/javascript" src="js/compatibility.js"></script>
    <!--[if lte IE 8]>
    <script type="text/javascript" src="js/respond.js"></script>
    <![endif]-->
</head>
<noscript unselectable="on" id="noscript">
    <div class="aw-404 aw-404-wrap container">
        <img src="common/no-js.jpg">
        <p>你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!</p>
    </div>
</noscript>
<body>
<%@ include file="../common/header.jsp"%>

<div class="aw-container-wrap">
    <div class="container">
        <div class="row">
            <div class="aw-content-wrap clearfix">
                <div class="aw-user-setting">
                    <div class="tabbable">
                        <ul class="nav nav-tabs aw-nav-tabs active">
                            <li><a href="user/center/security">安全设置</a></li>
                            <li><a href="user/center/openid">账号绑定</a></li>
                            <li class="active"><a href="user/center/profile">基本资料</a></li>
                            <h2><i class="icon icon-setting"></i> 用户设置</h2>
                        </ul>
                    </div>

                    <div class="tab-content clearfix">
                        <!-- 基本信息 -->
                        <div class="aw-mod">
                            <div class="mod-body">
                                <div class="aw-mod mod-base">
                                    <div class="mod-head">
                                        <h3>基本信息</h3>
                                    </div>
                                    <form id="setting_form" method="post" action="http://wenda.wecenter.com/account/ajax/profile_setting/">
                                        <div class="mod-body">
                                            <dl>
                                                <dt>账号:</dt>
                                                <dd>${profile.username}</dd>
                                            </dl>
                                            <dl>
                                                <dt>性别:</dt>
                                                <dd>
                                                    <label>
                                                        <input name="sex" value="1" type="radio" checked="checked" /> 男
                                                    </label>
                                                    <label>
                                                        <input name="sex" value="2" type="radio" /> 女
                                                    </label>
                                                    <label>
                                                        <input name="sex" value="3" type="radio" /> 保密
                                                    </label>
                                                </dd>
                                            </dl>
                                            <dl>
                                                <dt><label>现居:</label></dt>
                                                <dd>
                                                    <select name="province" class="select_area"></select>
                                                    <select name="city" class="select_area"></select>
                                                </dd>
                                            </dl>
                                            <dl>
                                                <dt><label>介绍:</label></dt>
                                                <dd class="introduce">
                                                    <input class="form-control" name="signature" maxlength="128" type="text" value="90后IT男" />
                                                </dd>
                                            </dl>
                                            <!-- 上传头像 -->
                                            <div class="side-bar">
                                                <dl>
                                                    <dt class="pull-left"><img class="aw-border-radius-5" src="http://wenda.wecenter.com/uploads/avatar/000/04/16/35_avatar_max.jpg?rand=958" alt="" id="avatar_src" /></dt>
                                                    <dd class="pull-left">
                                                        <h5>头像设置</h5>
                                                        <p>支持 jpg、gif、png 等格式的图片</p>
                                                        <a class="btn btn-mini btn-success" id="avatar_uploader" href="javascript:;">上传头像</a> <span id="avatar_uploading_status" class="collapse"><i class="aw-loading"></i> 文件上传中...</span>
                                                    </dd>
                                                </dl>
                                            </div>
                                            <!-- end 上传头像 -->
                                        </div>
                                <!-- end 基本信息 -->
                                    </form>
                            </div>
                            <div class="mod-footer clearfix">
                                <a href="javascript:;" class="btn btn-large btn-success pull-right" onclick="AWS.ajax_post($('#setting_form'));">保存</a>
                            </div>
                        </div>
                        <script type="text/javascript" src="js/app/setting.js"></script>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<a class="aw-back-top hidden-xs" href="javascript:;" onclick="$.scrollTo(1, 600, {queue:true});"><i class="icon icon-up"></i></a>
<div id="aw-ajax-box" class="aw-ajax-box"></div>
</body>
</html>